package io.gitee.hechenl.fastiotreport.domain.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class MetricListDTO {

    @NotEmpty(message = "请选择指标")
    private List<Long> metricIds;

    @NotBlank(message = "请选择开始时间")
    private String startTime;

    @NotBlank(message = "请选择结束时间")
    private String endTime;
}
